/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.com.pps.dao;

import vn.com.pps.entities.CourseTeacher;
import vn.com.pps.entities.CourseTeacherDetail;
import vn.com.pps.entities.Teacher;

/**
 *
 * @author Dai
 */
public interface ICourseTeacherDAO {

    public int insert(CourseTeacher courseTeacher);

    public int update(CourseTeacher courseTeacher);

    public int delete(int id);

    public CourseTeacher getCourseTeacher(Integer id);

    public CourseTeacherDetail getTeacherByCourseID(Integer id);

    public Page<CourseTeacherDetail> getCourseTeachers(int pageNo, int pageSize, String whereClause);

    public int getCount(String whereClause);

    public int getCountCourseByTeacher(Integer TeacherID);

    public Page<CourseTeacherDetail> getCoursesByTeacher(int pageNo, int pageSize, Integer TeacherID);
}
